<template>
  <div class="head">
    <div class="logo">
      <img src="@/assets/logo.jpg" alt="">
    </div>
    <div class="search">
      <form action="/">
        <van-search
          shape="round"
          v-model="value"
          left-icon="search"
          placeholder="搜索目的地/景点"
        />
      </form>
    </div>
    <div class="my">
      <img src="@/assets/head.png" alt="">
    </div>
  </div>
  <div class="box"></div>
</template>

<script setup>
import { ref } from 'vue';
const value = ref()
</script>

<style lang="less" scoped>
.head{
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.05);
  width: 100%;
  position: fixed;
  top: 0;
  height: 1.7rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  box-sizing: border-box;
  .logo{
    img{
      width: 1rem;
    }
  }
  .search{
    flex: 1;
  }
  .my{
    img{
      width: 1rem;
      border-radius: 50%;
      overflow: hidden;
    }
  }
}
.box{
  height: 1.7rem;
}

</style>